package com.fx.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * 每个微服务创建自己的命名空间，使用配置分组区分环境，dev、test、prod
 */
@EnableDiscoveryClient
@MapperScan("com.fx.coupon.dao")
@SpringBootApplication
public class FxCouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(FxCouponApplication.class, args);
    }

}
